import http from "@/api";
/**
 * @name 就诊管理
 */
// 就诊管理列表
export const jzgllistApi = params => {
  return http.get(`/system/appointment/list`, params, { loading: false });
};
export const jzgllistApitwo = params => {
  return http.get(`/system/appointment/getByPid`, params, { loading: false });
};

export const addjzglApi = params => {
  return http.post(`/system/appointment`, params, { loading: false });
};

export const xgjzglApi = params => {
  return http.put(`/system/appointment`, params, { loading: false });
};

export const deletejzglApi = params => {
  return http.delete(`/system/appointment/${params.id}`, params, { loading: false });
};

export const getInfojzglApi = params => {
  return http.get(`/system/appointment/getInfo`, params, { loading: false });
};

export const getDiabetesAmount = params => {
  return http.get(`/system/user/getDoctorVo`, params, { loading: false });
};

export const getMonthlyGrowth = params => {
  return http.get(`/system/patient/getPatientVo`, params, { loading: false });
};
